package com.carter.springframework.beans.factory;

import com.carter.springframework.beans.exception.BeanException;

public interface BeanFactoryAware extends Aware{
    /**
     * 设置所属的beanFactory，也就代表着bean所需要的BeanFactory，就会通过这个方法传递给它
     * @param beanFactory
     * @throws BeanException
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeanException;
}
